package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@Table(name = "order_answer")
public class Answer implements Serializable {
    private static final long serialVersionUID = 5096620122671968916L;

    @Id
    @Column(name = "id_bigint", columnDefinition = "bigint(20)")
    private Long id;
    @Column(name = "fid_bigint", columnDefinition = "bigint(20)")
    private Long fid;
    @Column(name = "qid_bigint", columnDefinition = "bigint(20)")
    private Long qid;
    @Column(name = "aid_bigint", columnDefinition = "bigint(20)")
    private Long aid;
    @Column(name = "a_Item_nvarchar", columnDefinition = "varchar(255)")
    private String aItem;
    @Column(name = "chk_bit", columnDefinition = "tinyint(1)")
    private Boolean chk;
}
